package com.thinkit.bigdata.web.model.tag;

import java.util.Date;

public class TagOperate {
    /**
     * 主键
     */
    private String id;

    /**
     * 语音id，对应的语音表的id
     */
    private String audioid;

    /**
     * 操作人的工号
     */
    private String operatorid;

    /**
     * 操作时间
     */
    private Date operatetime;

    /**
     * 操作类型，1.新增，2.标注，3.审核，4.语料审核，默认1
     */
    private String opertype;

    /**
     * 原始状态，同tag_audio的state
     */
    private Integer originalstate;

    /**
     * 改后状态，同tag_audio的state
     */
    private Integer newstate;

    /**
     * 其他信息
     */
    private String content;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getAudioid() {
        return audioid;
    }

    public void setAudioid(String audioid) {
        this.audioid = audioid == null ? null : audioid.trim();
    }

    public String getOperatorid() {
        return operatorid;
    }

    public void setOperatorid(String operatorid) {
        this.operatorid = operatorid == null ? null : operatorid.trim();
    }

    public Date getOperatetime() {
        return operatetime;
    }

    public void setOperatetime(Date operatetime) {
        this.operatetime = operatetime;
    }

    public String getOpertype() {
        return opertype;
    }

    public void setOpertype(String opertype) {
        this.opertype = opertype == null ? null : opertype.trim();
    }

    public Integer getOriginalstate() {
        return originalstate;
    }

    public void setOriginalstate(Integer originalstate) {
        this.originalstate = originalstate;
    }

    public Integer getNewstate() {
        return newstate;
    }

    public void setNewstate(Integer newstate) {
        this.newstate = newstate;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    // ======================= 常量 ========================
    /**
     * 操作类型-新增（默认）
     */
    public static final String OPERTYPE_ADD = "1";

    /**
     * 操作类型-标注
     */
    public static final String OPERTYPE_TAG = "2";

    /**
     * 操作类型-审核
     */
    public static final String OPERTYPE_AUDIT = "3";

    /**
     * 操作类型-语料审核
     */
    public static final String OPERTYPE_CORPUS_AUDIT = "4";
}